import request from '@/utils/request'

// 查询智能仓储WMS-补货申请列表
export function listApplication(query) {
  return request({
    url: '/wms/application1/list',
    method: 'get',
    params: query
  })
}

// 查询智能仓储WMS-补货申请详细
export function getApplication(id) {
  return request({
    url: '/wms/application1/' + id,
    method: 'get'
  })
}

// 新增智能仓储WMS-补货申请
export function addApplication(data) {
  return request({
    url: '/wms/application1',
    method: 'post',
    data: data
  })
}

// 修改智能仓储WMS-补货申请
export function updateApplication(data) {
  return request({
    url: '/wms/application1',
    method: 'put',
    data: data
  })
}

// 删除智能仓储WMS-补货申请
export function delApplication(id) {
  return request({
    url: '/wms/application1/' + id,
    method: 'delete'
  })
}
